export default {
  timeCityIsEmpty(timeCity){
    return !!(isEmpty(timeCity.startYear)
      || isEmpty(timeCity.city)
      || isEmpty(timeCity.endYear));
  },
  isStrEmpty (obj) {
    return typeof obj == 'undefined' || obj == null || obj === '';
  }
}

function isEmpty (obj) {
  return typeof obj == 'undefined' || obj == null || obj === '';
}
